package com.dao;


import com.entity.Comment;
import com.entity.vo.CommentVo;
import com.util.PageUtil;

import java.sql.SQLException;

/**
 * <p>
 * 评论 服务类
 * </p>
 *
 * @author lzy
 * @since 2022-03-23
 */
public interface CommentService extends Dao<Comment>{

	// 批量删除根据id
	public int deletedIds(String[] ids) throws SQLException;

	/**
	 * 分页查询
	 * @param pageNum
	 * @param pageSize
	 * @param comment
	 * @return
	 */
	PageUtil<CommentVo> queryDataBypage2(int pageNum, int pageSize, Comment comment) throws SQLException, InstantiationException, IllegalAccessException;
}
